package com.ld.control.sysenum;

import lombok.Getter;

@Getter
public enum EquipmentStatusEnum {

    UNKNOWN(-1,"未知(未找到设备)"),
    OFF_LINE(0,"离线(驱动在线设备连接不上)"),
    SIMULATION_ON_LINE(1,"模拟在线(没有真实连接设备)"),
    REAL_ON_LINE(2,"在线(已经连接上真实设备)"),
    RUNNING(3,"运行中"),
    ABNORMAL(4,"异常"),
    ERROR(5,"错误"),
    DISABLE(6,"禁用"),
    CONNECTION_FAILED(7,"连接失败"),
    ;

    // 枚举内部变量，msg\code.
    private final int status;
    private final String message;

    EquipmentStatusEnum(int status, String message) {
        this.status = status;
        this.message = message;
    }


}
